package com.tfjybj.itoo.exam.provider.service;

import com.dmsdbj.itoo.tool.base.service.BaseServicePlus;
import com.github.pagehelper.PageInfo;
import com.tfjybj.itoo.exam.entity.StudentScoreEntity;
import com.tfjybj.itoo.exam.model.StudentScoreModel;

import java.util.List;


/**
 * StudentScoreService接口
 * studentScore表
 *
 * @author 任晓帅
 * @version 2.0.0
 * @since 2.0.0 2018-11-15 19:40:28
 */
public interface StudentScoreService extends BaseServicePlus<StudentScoreEntity> {
	
	//region 模板生成：模糊查询
	/**
     * 根据学号模糊查询studentScore
     *
     * @param studentCode  学号
     * @param pageNo   页码
     * @param pageSize 页数
     * @return 模糊查询的studentScore
     * @author 任晓帅
     * @since 2.0.0 2018-11-15 19:40:28
     */
    PageInfo<StudentScoreEntity> queryByLikeStudentCode(String studentCode, Integer pageNo, Integer pageSize);
	//endregion

    /* **********************************以下为非模板生成的内容********************************* */
    /**
     * 下载
     */


    int queryIsExistScore(String exameeId, String examionId);

    /**
     * 根据试卷id和学生id更新学生总分数
     *
     * @return 返回某一个试卷的详细信息
     * @author maying
     * @since 2018-11-26 19:54:21
     */
    List<StudentScoreEntity> upStudentScore(StudentScoreModel stuScore);


   List<StudentScoreModel>  selectlowclass(String number, String operator);

    List<StudentScoreModel> selectlowstudent(String number, String templateId, String classId, String operator);


}
